<%--
  Created by IntelliJ IDEA.
  User: 王乐
  Date: 2018/7/10
  Time: 21:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>机构信息</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/metro/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/productInfo.js"></script>
</head>
<body>
<table id="productInfo_datagrid"></table>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="add()"> 添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"onclick="edit()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="change_btn" onclick="changeSate()">停销</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" id="shut_btn" onclick="shutDeduc()">关闭不计免赔</a>

    <input class="easyui-textbox" type="text" name="keyword" id="keyword" prompt="请输入关键字"/>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>
</div>
</div>
<div id="my_dialog">
    <form id="editForm" method="post" style="padding:30px 0px 0px 25px;">
        <input type="hidden" id="infoId" name="id">
        <table style="border-collapse: separate;border-spacing: 10px;">
            <tr>
                <td >保险编码:</td>
                <td><input class="easyui-textbox" type="text" name="sn"/></td>
            </tr>
            <tr>
                <td >产品名称:</td>
                <td><input class="easyui-textbox" type="text" name="name" /></td>
            </tr>
            <tr>
                <td >所属机构:</td>
                <td><input class="easyui-combobox" type="text" name="agency.id"
                           data-options="url:'/agencyInfo/queryAgency',valueField:'id',textField:'name',panelHeight:'auto'"
                /></td>
            </tr>
            <tr>
                <td >保障年限:</td>
                <td><input class="easyui-textbox" type="text" name="limityear"/></td>
            </tr>
            <tr>
                <td >保额:</td>
                <td><input class="easyui-textbox" type="text" name="insurance"/></td>
            </tr>
            <tr>
                <td >基本年费:</td>
                <td><input class="easyui-textbox" type="text" name="annualfee"/></td>
            </tr>
            <tr>
                <td>状态:</td>
                <td><input class="easyui-combobox" type="text" name="state"
                           data-options="data:[{'value':'0','text':'停售'},{'value':'1','text':'在售'}],valueField:'value',textField:'text',panelHeight:'auto'"
                /></td>
            </tr>
            <tr>
                <td>不计免赔:</td>
                <td><input class="easyui-combobox" type="text" name="deduction"
                           data-options="data:[{'value':'0','text':'否'},{'value':'1','text':'是'}],valueField:'value',textField:'text',panelHeight:'auto'"
                /></td>
            </tr>
        </table>
    </form>
</div>
<div id="bb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save()">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="cancel()">取消</a>
</div>
</body>
</html>
